// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Application</Project>
// <FileName>ClassUploadRequestInput.cs</FileName>
// <CreateTime>2017-05-05 21:48</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-05-05 21:48" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Vecen.BangChuang.BangChuang.Common.Dtos;

namespace Vecen.BangChuang.BangChuang.Classes.Dtos {

    /// <summary>
    /// 上传课程请求结构
    /// </summary>
    [AutoMapTo(typeof(MicroClass))]
    public class ClassUploadInputDto: IAttachmentInputDto {

        /// <summary>
        /// 分组ID
        /// </summary>
        public int GroupId { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [StringLength(64)]
        public string Title { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [StringLength(512)]
        public string Description { get; set; }

        /// <summary>
        /// 上课时间
        /// </summary>
        public DateTime ClassTime { get; set; }

        /// <summary>
        /// 本次请求关联的附件ID(课程文件)
        /// </summary>
        public List<int> AttachmentIds { get; set; }

        /// <summary>
        /// 本次请求需要删除的附件ID(课程文件)
        /// </summary>
        public List<int> DelAttachmentIds { get; set; }

        /// <summary>
        /// 本次请求关联的附件ID(课程文件)
        /// </summary>
        public List<int> ThumbnailAttachmentIds { get; set; }

        /// <summary>
        /// 本次请求需要删除的附件ID(课程文件)
        /// </summary>
        public List<int> ThumbnailDelAttachmentIds { get; set; }
    }
}